package test3_13.Zombie;

public class Homework7_6_Zombie {
    public static void main(String[] args) {
        /*
        定义一个僵尸类(Zombie)，属性有名子，体力值，攻击力，实例化三个僵尸类，并给属性赋值；
         */

        Zombie zombie1 = new Zombie();
        zombie1.name = "Xu";
        zombie1.stamina = 100;
        zombie1.attack = 40;

        Zombie zombie2 = new Zombie();
        zombie2.name = "Tao";
        zombie2.stamina = 80;
        zombie2.attack = 60;

        Zombie zombie3 = new Zombie();
        zombie3.name = "Li";
        zombie3.stamina = 90;
        zombie3.attack = 10;
    }
}
